home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
6_11.lha
/
6_11
/
6_11_eq.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
392b
|
16 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
*
Compare two arbint's for equality
/
include <arbint.h>
nline int operator==(const arbint& a, const arbint& b)
return (a.p->length == b.p->length) &&
(memcmp((char*)a.p->value, (char*)b.p->value,
a.p->length * sizeof(ARB_type)) == 0);